package com.zl.learning.xml.pojo;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "ELEINFO")
@XmlAccessorType(XmlAccessType.FIELD)
public class EleInfo {
    @XmlAttribute(name = "CODE")
    private String code;
    @XmlAttribute(name = "VALUE")
    private String value;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
